/**
  * @name 格式化时间戳
  * @description: 
  * @param 
  * @return 
  */
export const formTime = (time)=>{
	function formDateNum(num){
		let str = String(num)
		return str.length >= 2 ? str : '0'+ str
	}
	
	let t = new Date(Number(time))
	let newTime = formDateNum(t.getHours()) + ":" + formDateNum(t.getMinutes())
	return newTime
}